Optimal. Leaf size=71 \[ -\frac {\left (a+b \left (c x^q\right )^n\right )^p \left (\frac {b \left (c x^q\right )^n}{a}+1\right )^{-p} \, _2F_1\left (-p,-\frac {1}{n q};1-\frac {1}{n q};-\frac {b \left (c x^q\right )^n}{a}\right )}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {370, 365, 364} \[ -\frac {\left (a+b \left (c x^q\right )^n\right )^p \left (\frac {b \left (c x^q\right )^n}{a}+1\right )^{-p} \, _2F_1\left (-p,-\frac {1}{n q};1-\frac {1}{n q};-\frac {b \left (c x^q\right )^n}{a}\right )}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 364
Rule 365
Rule 370
Rubi steps
\begin {align*} \int \frac {\left (a+b \left (c x^q\right )^n\right )^p}{x^2} \, dx &=\operatorname {Subst}\left (\int \frac {\left (a+b c^n x^{n q}\right )^p}{x^2} \, dx,x^{n q},c^{-n} \left (c x^q\right )^n\right )\\ &=\operatorname {Subst}\left (\left (\left (a+b c^n x^{n q}\right )^p \left (1+\frac {b c^n x^{n q}}{a}\right )^{-p}\right ) \int \frac {\left (1+\frac {b c^n x^{n q}}{a}\right )^p}{x^2} \, dx,x^{n q},c^{-n} \left (c x^q\right )^n\right )\\ &=-\frac {\left (a+b \left (c x^q\right )^n\right )^p \left (1+\frac {b \left (c x^q\right )^n}{a}\right )^{-p} \, _2F_1\left (-p,-\frac {1}{n q};1-\frac {1}{n q};-\frac {b \left (c x^q\right )^n}{a}\right )}{x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 71, normalized size = 1.00 \[ -\frac {\left (a+b \left (c x^q\right )^n\right )^p \left (\frac {b \left (c x^q\right )^n}{a}+1\right )^{-p} \, _2F_1\left (-p,-\frac {1}{n q};1-\frac {1}{n q};-\frac {b \left (c x^q\right )^n}{a}\right )}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.95, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (\left (c x^{q}\right )^{n} b + a\right )}^{p}}{x^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (\left (c x^{q}\right )^{n} b + a\right )}^{p}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 1.19, size = 0, normalized size = 0.00 \[ \int \frac {\left (b \left (c \,x^{q}\right )^{n}+a \right )^{p}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (\left (c x^{q}\right )^{n} b + a\right )}^{p}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (a+b\,{\left (c\,x^q\right )}^n\right )}^p}{x^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (a + b \left (c x^{q}\right )^{n}\right )^{p}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________